﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Web7.Caching;
using Web7.Dispose;

namespace Web7.Context
{
    /// <summary>
    /// Web7 默认框架Context
    /// </summary>
    public class Web7FrameworkContext : DisposableObject,IFrameworkContext
    {
        public Web7FrameworkContext(ICacheManager cachemanager)
        {
            Cachemanager = cachemanager;
        }

        protected override void DisposeResources()
        {
           Dispose();
        }

        public ICacheManager Cachemanager { get;protected set; }
    }
}
